package com.grain.platform.listener;

import com.bstek.dorado.data.listener.GenericObjectListener;
import com.bstek.dorado.view.widget.grid.DataGrid;
/**
 * DataGrid全局监听，调整整个系统中dataGrid样式
 * @author Andy
 *
 */
public class DataGridListener extends GenericObjectListener<DataGrid>{

	@Override
	public boolean beforeInit(DataGrid grid) throws Exception {
		grid.setRowHeight(35);
		grid.setHeaderRowHeight(36);
		return true;
	}

	@Override
	public void onInit(DataGrid grid) throws Exception {
		//
	}

}
